Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notify to server options & also_notify to server and zone options. #110

Merged
merged 1 commit into from May 6, 2015
Merged

Conversation

ghost
Copy link

@ghost ghost commented May 5, 2015

This pull request adds more complete notification options to both zones
and the server options. In both cases, zone_notify sets the BIND
"notify" option (which can be one of on, off, master-only, or
explicit), and also_notify is a list of ip addresses of name servers
that will be sent notifications in addition to the zone's nameservers.

Both zone_notify and also_notify are validated in dns::server::options
and dns::zone, and new tests are added to dns__server__options_spec.rb
and dns__zone_spec.rb to test the individual values for each parameter.

This pull request adds more complete notification options to both zones
and the server options.  In both cases, `zone_notify` sets the BIND
"notify" option (which can be one of *on*, *off*, *master-only*, or
*explicit*), and `also_notify` is a list of ip addresses of name servers
that will be sent notifications in addition to the zone's nameservers.

Both zone_notify and also_notify are validated in dns::server::options
and dns::zone, and new tests are added to dns__server__options_spec.rb
and dns__zone_spec.rb to test the individual values for each parameter.
@solarkennedy
Copy link
Collaborator

Looks great!

solarkennedy added a commit that referenced this pull request May 6, 2015
Add notify to server options & also_notify to server and zone options.
@solarkennedy solarkennedy merged commit 94e1841 into ajjahn:master May 6, 2015
@ghost ghost deleted the add-also_notify-zone-configuration branch May 6, 2015 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant